﻿using Kw.Data;
using System;
using System.Collections.Generic;

namespace KwDataBench
{
    class BtreeBench01
    {
        static void Main ()
        {
            var btree1 = new BtreeDictionary<int,int> ();
            var treeD = new SortedDictionary<int, int> ();
            treeD.Add (91, 910); treeD.Add (95, 950);
            var vListD = treeD.Values;
            var vListK = treeD.Keys;

            var list0 = new SortedList<int,int> ();
            list0.Add (91, 910); list0.Add (95, 950);

            Console.WriteLine (btree1.GetHashCode ());
            Console.WriteLine (treeD.GetHashCode ());
            Console.WriteLine (treeD);
            Console.WriteLine (treeD.Equals (list0));

            Console.WriteLine (btree1.Equals (btree1));
        }
    }
}
